<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>

<c:if test="${empty user}">
<script>
	alert("用户名密码错误，请重新登录");
	open("index.jsp","_self");	
</script>
</c:if>
<c:if test="${not empty user}">
  <script type="text/javascript">
    location="adminServlet";
    </script>
</c:if>
